namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// 备份 - 设备
    /// </summary>
    public DbSet<POBakRcsEquip> BakRcsEquips { get; set; }
}

/// <summary>
/// 备份 - 设备
/// 表[bak_rcs_equip]
/// </summary>
[Table("bak_rcs_equip")]
public class POBakRcsEquip
{
    /// <summary>
    /// 主键[bak_rcs_equip.bak_id)]
    /// </summary>
    [Key]
    [Column("bak_id")]
    public long? BakId { get; set; }
    /// <summary>
    /// [bak_rcs_equip.objid)]
    /// </summary>
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 设备编号
    /// [bak_rcs_equip.equip_code)]
    /// </summary>
    [Column("equip_code")]
    public string EquipCode { get; set; }
    /// <summary>
    /// 设备名称
    /// [bak_rcs_equip.equip_name)]
    /// </summary>
    [Column("equip_name")]
    public string EquipName { get; set; }
    /// <summary>
    /// 设备类型
    /// [bak_rcs_equip.equip_type)]
    /// </summary>
    [Column("equip_type")]
    public long? EquipType { get; set; }
    /// <summary>
    /// 可用
    /// [bak_rcs_equip.equip_enable)]
    /// </summary>
    [Column("equip_enable")]
    public int? EquipEnable { get; set; }
    /// <summary>
    /// 任务流水号
    /// [bak_rcs_equip.task_no)]
    /// </summary>
    [Column("task_no")]
    public int? TaskNo { get; set; }
    /// <summary>
    /// 任务Id
    /// [bak_rcs_equip.task_id)]
    /// </summary>
    [Column("task_id")]
    public long? TaskId { get; set; }
    /// <summary>
    /// 运行状态
    /// [bak_rcs_equip.status_code)]
    /// </summary>
    [Column("status_code")]
    public int? StatusCode { get; set; }
    /// <summary>
    /// 自动
    /// [bak_rcs_equip.auto_run)]
    /// </summary>
    [Column("auto_run")]
    public int? AutoRun { get; set; }
    /// <summary>
    /// 有货
    /// [bak_rcs_equip.has_sku)]
    /// </summary>
    [Column("has_sku")]
    public int? HasSku { get; set; }
    /// <summary>
    /// 结束任务
    /// [bak_rcs_equip.finish_task)]
    /// </summary>
    [Column("finish_task")]
    public int? FinishTask { get; set; }
    /// <summary>
    /// 请求任务
    /// [bak_rcs_equip.request_task)]
    /// </summary>
    [Column("request_task")]
    public int? RequestTask { get; set; }
    /// <summary>
    /// 可放货
    /// [bak_rcs_equip.allow_place)]
    /// </summary>
    [Column("allow_place")]
    public int? AllowPlace { get; set; }
    /// <summary>
    /// 需取货
    /// [bak_rcs_equip.need_take)]
    /// </summary>
    [Column("need_take")]
    public int? NeedTake { get; set; }
    /// <summary>
    /// 货物编号
    /// [bak_rcs_equip.sku_barcode)]
    /// </summary>
    [Column("sku_barcode")]
    public string SkuBarcode { get; set; }
    /// <summary>
    /// 异常类型
    /// [bak_rcs_equip.err_type)]
    /// </summary>
    [Column("err_type")]
    public int? ErrType { get; set; }
    /// <summary>
    /// 异常编号
    /// [bak_rcs_equip.err_code)]
    /// </summary>
    [Column("err_code")]
    public int? ErrCode { get; set; }
    /// <summary>
    /// 异常信息
    /// [bak_rcs_equip.err_msg)]
    /// </summary>
    [Column("err_msg")]
    public string ErrMsg { get; set; }
    /// <summary>
    /// 说明
    /// [bak_rcs_equip.remark)]
    /// </summary>
    [Column("remark")]
    public string Remark { get; set; }
    /// <summary>
    /// 创建时间
    /// [bak_rcs_equip.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [bak_rcs_equip.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [bak_rcs_equip.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
    /// <summary>
    /// 报警时间
    /// [bak_rcs_equip.err_time)]
    /// </summary>
    [Column("err_time")]
    public DateTime? ErrTime { get; set; }
    /// <summary>
    /// 修改用户的Id
    /// [bak_rcs_equip.user_id)]
    /// </summary>
    [Column("user_id")]
    public long? UserId { get; set; }
    /// <summary>
    /// 修改用户的名称
    /// [bak_rcs_equip.user_name)]
    /// </summary>
    [Column("user_name")]
    public string UserName { get; set; }
    /// <summary>
    /// [bak_rcs_equip.remark_memo)]
    /// </summary>
    [Column("remark_memo")]
    public string RemarkMemo { get; set; }
    /// <summary>
    /// [bak_rcs_equip.back_time)]
    /// </summary>
    [Column("back_time")]
    public DateTime? BackTime { get; set; }
}
